home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / dropData.sql < prev    next >
Text File  |  2000-05-12  |  3KB  |  107 lines

  1. /* RCSVER $Id: dropData.sql,v 1.1 1999-12-02 16:54:34-06 randy CURRENT $ *
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:         dropData.sql
  6. * Date:         12/02/1999
  7. * memo:         Randy Wood
  8. * Description:  Drop data from all data (non-config) tables. Data comes
  9. *        from farebox events (FBC files).
  10. * Changes:   
  11. ************************************************************************* */
  12. /* Views */
  13. drop view mrreconcile;
  14.  
  15. /* Moneyroom tables */
  16. drop table acctdaytotals;
  17. drop table adjustment;
  18. drop table batch;
  19. drop table batchtotals;
  20. drop table cashboxtotals;
  21. drop table mrcconvert;
  22. drop table subbatch;
  23.  
  24. /* Other tables for convert */
  25. drop table convexcp;
  26. drop table loadok;
  27. drop table tmpseq;
  28. drop table cashboxloc;
  29. drop table probehist;
  30.  
  31. /* Sequences for data */
  32. drop sequence seq_convert;
  33. drop sequence seq_cashbox_total;
  34. drop sequence seq_batch_total;
  35. drop sequence seq_acctday_total;
  36. drop sequence seq_batch;
  37. drop sequence seq_subbatch;
  38.  
  39. /* Closing/Reconciliation Tables */
  40. drop table cashclose;
  41. drop table close_batch;
  42. drop table mrorphans;
  43. drop table mrpend;
  44. drop table prorphans;
  45. drop table prpend;
  46.  
  47. /* Context tables */
  48. drop table probe_context;
  49. drop table operator_context;
  50. drop table driver_context;
  51. drop table fare_context;
  52.  
  53. /* These depend on mstrrec */
  54. drop table alarmact;
  55. drop table alarmclr;
  56. drop table badcbid;
  57. drop table bitstat;
  58. drop table cbdoorc;
  59. drop table cbdooro;
  60. drop table cbdooru;
  61. drop table cbinsert;
  62. drop table cblatch;
  63. drop table cbremov;
  64. drop table cbunlatch;
  65. drop table cmdinit;
  66. drop table conpwrb;
  67. drop table conpwre;
  68. drop table cscrash;
  69. drop table cscurcnt;
  70. drop table cskeycnt;
  71. drop table csposto;
  72. drop table curacc;
  73. drop table curstate;
  74. drop table escapek;
  75. drop table fareentr;
  76. drop table fbconfig;
  77. drop table fberror;
  78. drop table fbpwrfal;
  79. drop table fschng;
  80. drop table invalsec;
  81. drop table jcdoorc;
  82. drop table jcdooro;
  83. drop table probefail;
  84. drop table probesucc;
  85. drop table psettime;
  86. drop table rtechng;
  87. drop table sboveroff;
  88. drop table sboveron;
  89. drop table settime;
  90. drop table shftend;
  91. drop table shftrele;
  92. drop table shftrels;
  93. drop table shftstrt;
  94. drop table staket;
  95. drop table startup;
  96. drop table supersec;
  97. drop table wayevnt;
  98. drop table wayissue;
  99. drop table waysvc;
  100. drop table wayvalpass;
  101.  
  102. /* Mstrrec table */
  103. drop table mstrrec;
  104.  
  105. /* Convert table */
  106. drop table convert;
  107.